/*!
    Swap Images Easy
	Author: kiendn
*/
(function($){$.fn.swapimg=function(options){var defaults={imgOn:"_on.jpg",imgOff:".jpg"};var options=$.extend(defaults,options);var $isOn=false;var $obj_index=-1;return this.each(function(){if($(this).is('img')){obj=$(this)}else{obj=$(this).find('img')}obj.hover(function(){if(this.src.indexOf('_on')==-1){$isOn=false}else{$isOn=true}if($isOn==false){this.src=this.src.replace(options.imgOff,options.imgOn)}},function(){if($isOn==false){this.src=this.src.replace(options.imgOn,options.imgOff)}})})}})(jQuery);